Kubernetes Configurator

The Kubernetes configurator tool found in the customer portal can be used to configure the "instructions" for your launch of a Pyramid cluster. This tool produces a "YAML" file with the instructions for how to find the right containers and how to deploy the services in a cluster.

Advanced users can generate their own YAML instructions to deploy Pyramid in other tools or a text editor.

 

Steps to use the Tool:

  1. Select the version of Pyramid to deploy.
  2. Choose the port assignment for the application. This is an internal port, that is usually accessible from inside the network only. Usually a reverse proxy service is placed on top of this to handle URL and SSL processing, pointing all requests to the site and this port. See here for more.
  3. Select the persistent storage model for the cluster. Choices include AWS S3, Azure Blob, SFTP and NFS.
    1. If using the NFS option, the YAML file generated needs to be manually edited.
  4. Supply the initial memory and CPU core values of your Kubernetes environment. These are used to size the memory and CPU footprints of the service pods. The tool will not accept less than 12 CPUs and 16GB of memory. Click here to see the minimum recommended sizing guidelines.
  5. Set for each service the number of pods you which to deploy initially. The cluster assumes a minimum of 1 for each service, with the Router having a minimum of 2.
    1. The GIS service has a maximum pod setting of only 1 that cannot be changed in this tool
    2. Check the "NLQ" option if you plan to enable Natural Language Querying - since this has a dramatic impact on memory allocations to the "AI" services.
  6. For each relevant service, check if you would like elastic scaling. Currently the configuration tool only supports horizontal scaling. For each service with scaling enabled, set the maximum number of pods the system can add when scaling out.
  7. Click the NEXT button to see the specific steps needs to deploy the YAML configuration file. These steps involve:
    1. Deploying "Keda" and "Prometheus" - which are 2 engines for auto scaling containers in Kubernetes
    2. Downloading the Pyramid YAML configuration file
    3. Manually editing the "NFS" section in the YAML file with a text editor if NFS storage has been selected (see below).
    4. Deploying the YAML file into the Kubernetes cluster.

NFS Edits

If you chose the NFS option, then you have to manually modify the YAML file in a text editor.

  1. In the "PersistentVolum"e section
    1. under spec->capacity->storage you need to define the storage size that you will want to allocate for Pyramid external storage
    2. under the spec-> NFS, you need to fill the path and the server IP
  2. In the "PersistentVolumeClaim" section
    1. under spec->resources->request->storage you need to define the storage size that you want to allocate for Pyramid external storage